package cn.iocoder.yudao.module.product.controller.admin.packaging.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 商品包装物分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class PackagingPageReqVO extends PageParam {

    @Schema(description = "商品sku_id", example = "7063")
    private Long skuId;

    @Schema(description = "spu名称", example = "王五")
    private String spuName;

    @Schema(description = "规格id", example = "9855")
    private Long cylinderId;

    @Schema(description = "状态：0正常1待修2待检3折旧4报废（可多选用 ，分割）", example = "1")
    private String status;

    @Schema(description = "是否收租金0 是1否")
    private Integer isRent;

    @Schema(description = "租金收取周期 0月1季度2半年3年")
    private Integer rentCycle;

    @Schema(description = "租金单价基准值")
    private BigDecimal rentReferencePr;

    @Schema(description = "租金单价上限值")
    private BigDecimal rentUpperPr;

    @Schema(description = "租金单价下限值")
    private BigDecimal rentLowerPr;

    @Schema(description = "押金单价基准值")
    private BigDecimal depositReferencePr;

    @Schema(description = "押金单价基准值")
    private BigDecimal depositUpperPr;

    @Schema(description = "押金单价基准值")
    private BigDecimal depositLowerPr;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "更新人")
    private String updater;
    @Schema(description = "规格名称")
    private String cylinderName;
    @Schema(description = "包装物类型")
    private String packagingType;
}